package com.mzy.datepackage.M2022.Aug;

import lombok.extern.slf4j.Slf4j;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author mzy
 * @Date 2022/8/2 15:22
 * @Version 1.0
 */
@Slf4j
public enum  Demo {

    a("A"),b("B"),c("C");

    private String chinese;

    Demo(String chinese){
        this.chinese = chinese;
    }

    public String getChinese() {
        return chinese;
    }

    public static void main(String[] args) {
        for (Demo value : Demo.values()) {
            log.debug(String.valueOf(value));
        }
    }
}
